<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'test.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
<style type="text/css">
*{margin: 0; padding:0}
div{
width:100%;
height:100%;
background:url(./img/404.jpg); 
}
#ShowDiv{margin-left: 319px;
position: absolute;
background-color:#fff;
width: 479px;
height: 48px;
font-size: 20px;
margin-top: 145px;
filter：alpha(opacity=100)	
}
</style>
<script language='javascript' type='text/javascript'> 
var secs =5; //倒计时的秒数 
var URL ; 
function Load(url){ 
URL =url; 
for(var i=secs;i>=0;i--) 
{ 
window.setTimeout('doUpdate(' + i + ')', (secs-i) * 1000); 
} 
} 
function doUpdate(num) 
{ 
document.getElementById('ShowDiv').innerHTML = '将在'+num+'秒后自动跳转到登录首页' ; 
if(num == 0) { window.location.href=URL; } 
} 

</script> 

  </head>
  
  <body class="body">
  
  <div >
     <div id="ShowDiv"></div> 
<script language="javascript"> 
Load("Login_loginPage.action"); 
</script> 
  </div>
  </body>
</html>
